package com.dianban.entity;

import java.math.BigDecimal;

/**
 * CREATE TABLE `jw_user_commission_log` (
 *   `id` int(11) NOT NULL AUTO_INCREMENT,
 *   `user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '会员ID',
 *   `money` decimal(10,3) NOT NULL DEFAULT '0.000' COMMENT '变更余额',
 *   `before` decimal(10,3) NOT NULL DEFAULT '0.000' COMMENT '变更前余额',
 *   `after` decimal(10,3) NOT NULL DEFAULT '0.000' COMMENT '变更后余额',
 *   `type` varchar(64) DEFAULT NULL,
 *   `ext` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '附加字段',
 *   `memo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '备注',
 *   `createtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
 *   `operator` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '操作人员',
 *   PRIMARY KEY (`id`)
 * ) ENGINE=InnoDB AUTO_INCREMENT=100001416 DEFAULT CHARSET=utf8
 */
public class UserCommissionLog {

    private Long id;
    private Long userId;
    private BigDecimal money;
    private BigDecimal before;
    private BigDecimal after;
    private String type;
    private String ext;
    private String memo;
    private Long operator;
    private Long createtime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }


    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getBefore() {
        return before;
    }

    public void setBefore(BigDecimal before) {
        this.before = before;
    }

    public BigDecimal getAfter() {
        return after;
    }

    public void setAfter(BigDecimal after) {
        this.after = after;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Long getOperator() {
        return operator;
    }

    public void setOperator(Long operator) {
        this.operator = operator;
    }

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

}

